projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edddb66
)
filechooserentry: Use the actual discarding function to discard a folder
author
Benjamin Otte
<otte@redhat.com>
Fri, 28 Oct 2011 03:00:20 +0000
(20:00 -0700)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 16 Dec 2011 19:09:11 +0000
(20:09 +0100)
gtk/gtkfilechooserentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserentry.c
b/gtk/gtkfilechooserentry.c
index 477439a9a15a18b02807b23d2f7f415b24ef8b45..829b529c900c6e0cde906d54d377c78d3cd3eaeb 100644
(file)
--- a/
gtk/gtkfilechooserentry.c
+++ b/
gtk/gtkfilechooserentry.c
@@
-1477,8
+1477,7
@@
start_loading_current_folder (GtkFileChooserEntry *chooser_entry)
if (chooser_entry->local_only
&& !g_file_is_native (chooser_entry->current_folder_file))
{
- g_object_unref (chooser_entry->current_folder_file);
- chooser_entry->current_folder_file = NULL;
+ discard_loading_and_current_folder_file (chooser_entry);
return REFRESH_NOT_LOCAL;
}